package com.trkj.dao;

import com.trkj.entity.BuildingEntity;
import com.trkj.entity.UnitEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UnitDao {
    List<UnitEntity> selectUnit(UnitEntity unitEntity);

    Boolean AddUnit(UnitEntity unitEntity);
    Boolean updateUnit(UnitEntity unitEntity);
    Boolean deleteUnit(int id);
    //查询苏哦有单元数量
    List<UnitEntity> UnitList();
}
